import { ref } from "vue";
import { defineStore } from "pinia";

export const useFilesStore = defineStore("files", () => {
  const filesInfo = ref<any>();
  const setFilesInfo = (info: any) => {
    filesInfo.value = info;
  };
  const videoInfo = ref();
  const setVideoInfo = (info: any) => {
    videoInfo.value = info;
  };
  const useTemplate = ref();
  const setUseTemplate = (template: any) => {
    useTemplate.value = template;
  };
  const hdInfo = ref();
  const setHdInfo = (template: any) => {
    hdInfo.value = template;
  };
  return { filesInfo, setFilesInfo, videoInfo, setVideoInfo, useTemplate, setUseTemplate, hdInfo, setHdInfo };
});
